<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Form_model extends CI_Model
{
	public function get_user_by_id($id)
	{
		return $this->db->where('user_id',$id)->get('users_form')->row();
	}

	public function update($id,$info)
	{
		$this->db->update('users_form', $info, array('user_id'=>$id));
	}
}